package main;

import java.sql.Connection;

import data.Season;

import sql.DatabaseConnection;
import sql.QueryDatabase;
import visualInterface.AddRoundFrame;
import visualInterface.AddSeasonFrame;
import visualInterface.DetailsFrame;
import visualInterface.MainFrame;
import visualInterface.S;
import visualInterface.Windows;


public class Start {
	static Season season;

	public static void main(String[] args) {
		Connection connection;
//		connection= DatabaseConnection.getConnection();
	//DetailsFrame f=new DetailsFrame();
	//f.setFrame("FC Timisoara", "Steaua Bucuresti");
	AddRoundFrame f=new AddRoundFrame();
	AddSeasonFrame f1=new AddSeasonFrame();
	f.showFrame();
	f1.showFrame();
	
		//	Windows window=new Windows();
/*QueryDatabase query = new QueryDatabase(connection);
season=query.getlastSeason();
System.out.println(season.getId());
System.out.println(season.getName());
System.out.println(season.getEdition());
System.out.println(season.getTeamsNumber());
System.out.println(season.getRoundsNumber());
System.out.println(season.getChampion());
query.insertSeason(season);

season=query.getlastSeason();
System.out.println(season.getId());
System.out.println(season.getName());
System.out.println(season.getEdition());
System.out.println(season.getTeamsNumber());
System.out.println(season.getRoundsNumber());
System.out.println(season.getChampion());
*/
	}

}
